﻿using System.Collections.Generic;
using com.tdb.foundation;
using UnityEngine;

public class GlobalUIManager : MonoBehaviour
{
    private static GlobalUIManager _instance;
    
    public static GlobalUIManager Instance
    {
        get
        {
            if (_instance == null)
            {
                Debug.LogError("Can`t find PopupUIManager in current scense!");
            }
            return _instance;
        }
    }

    void Awake()
    {
        _instance = this;
        DontDestroyOnLoad(this);
    }
    
    public ModalDialog ModalDialog;

    [SerializeField]private Transform _root;
}
